<?php
$key = $_GET['key'];
$config_string = file_get_contents('./'.$key.'/config.json');
$index_string = file_get_contents('./'.$key.'/index.json');
echo '{"config":'.$config_string.',"index":'.$index_string.'}'
?>